<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: XDoubleFormatBase</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../d5/d9a/struct_x_double_format_base-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">XDoubleFormatBase</div></div>
</div><!--header-->
<div class="contents">

<p>浮点数格式化器基类  
 <a href="../../df/d33/struct_x_double_format_base.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d0/d75/_a_t_e_c_2_a_t_unit_format_8h_source.html">ATUnitFormat.h</a>&gt;</code></p>
<div class="dynheader">
类 XDoubleFormatBase 继承关系图:</div>
<div class="dyncontent">
<div class="center"><img src="../../d8/d85/struct_x_double_format_base__inherit__graph.png" border="0" usemap="#a_x_double_format_base_inherit__map" alt="Inheritance graph"/></div>
<map name="a_x_double_format_base_inherit__map" id="a_x_double_format_base_inherit__map">
<area shape="rect" title="浮点数格式化器基类" alt="" coords="5,5,145,32"/>
<area shape="rect" href="../../db/d8a/struct_x_double_format.html" title="用于构造数值的字符串" alt="" coords="20,80,131,107"/>
</map>
<center><span class="legend">[<a href="../../graph_legend.html">图例</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:abc7a4fb1560f6bedf95bcdd45ffd7404"><td class="memItemLeft" align="right" valign="top"><a id="abc7a4fb1560f6bedf95bcdd45ffd7404" name="abc7a4fb1560f6bedf95bcdd45ffd7404"></a>
ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>SetPrecision</b> (PrecisionType type, byte precision)</td></tr>
<tr class="separator:abc7a4fb1560f6bedf95bcdd45ffd7404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71359fec69dbb1f9765067403256c6ee"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT PrecisionFormat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#a71359fec69dbb1f9765067403256c6ee">GetPrecision</a> () const</td></tr>
<tr class="memdesc:a71359fec69dbb1f9765067403256c6ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取精度  <a href="../../df/d33/struct_x_double_format_base.html#a71359fec69dbb1f9765067403256c6ee">更多...</a><br /></td></tr>
<tr class="separator:a71359fec69dbb1f9765067403256c6ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0a5307d68b21a0233e759a956976c3a"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT WChar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#aa0a5307d68b21a0233e759a956976c3a">GetDecimalSeparator</a> () const</td></tr>
<tr class="memdesc:aa0a5307d68b21a0233e759a956976c3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取小数点分隔符  <a href="../../df/d33/struct_x_double_format_base.html#aa0a5307d68b21a0233e759a956976c3a">更多...</a><br /></td></tr>
<tr class="separator:aa0a5307d68b21a0233e759a956976c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0246fa1269648f18be9a83d852635c77"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#a0246fa1269648f18be9a83d852635c77">GetInsertThousandsSeparator</a> () const</td></tr>
<tr class="memdesc:a0246fa1269648f18be9a83d852635c77"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指示是否插入千位分隔符的值  <a href="../../df/d33/struct_x_double_format_base.html#a0246fa1269648f18be9a83d852635c77">更多...</a><br /></td></tr>
<tr class="separator:a0246fa1269648f18be9a83d852635c77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa93f0474ffbb58016e051eccfdfd0df"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT WChar&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#aaa93f0474ffbb58016e051eccfdfd0df">GetThousandsSeparator</a> () const</td></tr>
<tr class="memdesc:aaa93f0474ffbb58016e051eccfdfd0df"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取千位分隔符  <a href="../../df/d33/struct_x_double_format_base.html#aaa93f0474ffbb58016e051eccfdfd0df">更多...</a><br /></td></tr>
<tr class="separator:aaa93f0474ffbb58016e051eccfdfd0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b28a7860f8386623b8f17368610b53a"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#a6b28a7860f8386623b8f17368610b53a">GetLeadingZero</a> () const</td></tr>
<tr class="memdesc:a6b28a7860f8386623b8f17368610b53a"><td class="mdescLeft">&#160;</td><td class="mdescRight">测试是否包含前置零  <a href="../../df/d33/struct_x_double_format_base.html#a6b28a7860f8386623b8f17368610b53a">更多...</a><br /></td></tr>
<tr class="separator:a6b28a7860f8386623b8f17368610b53a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6f9cba4ae20d65183d2d044b5d1ac97"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#ab6f9cba4ae20d65183d2d044b5d1ac97">GetTrailingZeros</a> () const</td></tr>
<tr class="memdesc:ab6f9cba4ae20d65183d2d044b5d1ac97"><td class="mdescLeft">&#160;</td><td class="mdescRight">测试是否包含尾零  <a href="../../df/d33/struct_x_double_format_base.html#ab6f9cba4ae20d65183d2d044b5d1ac97">更多...</a><br /></td></tr>
<tr class="separator:ab6f9cba4ae20d65183d2d044b5d1ac97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0a74a2f9ef346ed89e31ee6b1603d4"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#a7b0a74a2f9ef346ed89e31ee6b1603d4">SetPrecision</a> (PrecisionFormat newVal)</td></tr>
<tr class="memdesc:a7b0a74a2f9ef346ed89e31ee6b1603d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置精度  <a href="../../df/d33/struct_x_double_format_base.html#a7b0a74a2f9ef346ed89e31ee6b1603d4">更多...</a><br /></td></tr>
<tr class="separator:a7b0a74a2f9ef346ed89e31ee6b1603d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01e0954cce5a49fe75423965386fc070"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#a01e0954cce5a49fe75423965386fc070">SetDecimalSeparator</a> (WChar newVal)</td></tr>
<tr class="memdesc:a01e0954cce5a49fe75423965386fc070"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置小数点分隔符  <a href="../../df/d33/struct_x_double_format_base.html#a01e0954cce5a49fe75423965386fc070">更多...</a><br /></td></tr>
<tr class="separator:a01e0954cce5a49fe75423965386fc070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf3dd030062c534ba331f8619a0294db"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#abf3dd030062c534ba331f8619a0294db">SetThousandsSeparator</a> (WChar newVal)</td></tr>
<tr class="memdesc:abf3dd030062c534ba331f8619a0294db"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置千位分隔符  <a href="../../df/d33/struct_x_double_format_base.html#abf3dd030062c534ba331f8619a0294db">更多...</a><br /></td></tr>
<tr class="separator:abf3dd030062c534ba331f8619a0294db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a681082f3375736b94eba2471ff973e88"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#a681082f3375736b94eba2471ff973e88">SetInsertThousandsSeparator</a> (bool newVal)</td></tr>
<tr class="memdesc:a681082f3375736b94eba2471ff973e88"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置是否插入千位分隔符  <a href="../../df/d33/struct_x_double_format_base.html#a681082f3375736b94eba2471ff973e88">更多...</a><br /></td></tr>
<tr class="separator:a681082f3375736b94eba2471ff973e88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afde726fa78e4678c0760ccae9c81863b"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#afde726fa78e4678c0760ccae9c81863b">SetLeadingZero</a> (bool newVal)</td></tr>
<tr class="memdesc:afde726fa78e4678c0760ccae9c81863b"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置前置零行为  <a href="../../df/d33/struct_x_double_format_base.html#afde726fa78e4678c0760ccae9c81863b">更多...</a><br /></td></tr>
<tr class="separator:afde726fa78e4678c0760ccae9c81863b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5012e70480353987e12c149edc01c49"><td class="memItemLeft" align="right" valign="top">ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d33/struct_x_double_format_base.html#ab5012e70480353987e12c149edc01c49">SetTrailingZeros</a> (bool newVal)</td></tr>
<tr class="memdesc:ab5012e70480353987e12c149edc01c49"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置尾零行为  <a href="../../df/d33/struct_x_double_format_base.html#ab5012e70480353987e12c149edc01c49">更多...</a><br /></td></tr>
<tr class="separator:ab5012e70480353987e12c149edc01c49"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a6fcd6230d15cc8e1a2176a6e733a1708"><td class="memItemLeft" align="right" valign="top"><a id="a6fcd6230d15cc8e1a2176a6e733a1708" name="a6fcd6230d15cc8e1a2176a6e733a1708"></a>
static ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>ReplaceDecimalSeparator</b> (WStringR numericString, WChar newDecimalSeparator)</td></tr>
<tr class="separator:a6fcd6230d15cc8e1a2176a6e733a1708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6127bdeeb7b47b2a47c536552c43762"><td class="memItemLeft" align="right" valign="top"><a id="ad6127bdeeb7b47b2a47c536552c43762" name="ad6127bdeeb7b47b2a47c536552c43762"></a>
static ATEC_EXPORT double&#160;</td><td class="memItemRight" valign="bottom"><b>MinimumResolutionForType</b> (byte precisionByte, PrecisionType precisionType)</td></tr>
<tr class="separator:ad6127bdeeb7b47b2a47c536552c43762"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73c6d95d05f0d04cb19ede0e204ae3b8"><td class="memItemLeft" align="right" valign="top"><a id="a73c6d95d05f0d04cb19ede0e204ae3b8" name="a73c6d95d05f0d04cb19ede0e204ae3b8"></a>
static ATEC_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>StripTrailingZeros</b> (WStringR string, wchar_t decimalChar=L'.')</td></tr>
<tr class="separator:a73c6d95d05f0d04cb19ede0e204ae3b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >浮点数格式化器基类 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="aa0a5307d68b21a0233e759a956976c3a" name="aa0a5307d68b21a0233e759a956976c3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0a5307d68b21a0233e759a956976c3a">&#9670;&nbsp;</a></span>GetDecimalSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT WChar XDoubleFormatBase::GetDecimalSeparator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取小数点分隔符 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT WChar</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a0246fa1269648f18be9a83d852635c77" name="a0246fa1269648f18be9a83d852635c77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0246fa1269648f18be9a83d852635c77">&#9670;&nbsp;</a></span>GetInsertThousandsSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT bool XDoubleFormatBase::GetInsertThousandsSeparator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取指示是否插入千位分隔符的值 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a6b28a7860f8386623b8f17368610b53a" name="a6b28a7860f8386623b8f17368610b53a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b28a7860f8386623b8f17368610b53a">&#9670;&nbsp;</a></span>GetLeadingZero()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT bool XDoubleFormatBase::GetLeadingZero </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>测试是否包含前置零 </p>
<dl class="section note"><dt>注解</dt><dd>前置零只是小于1.0的值包含，例如0.2 vs .2</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a71359fec69dbb1f9765067403256c6ee" name="a71359fec69dbb1f9765067403256c6ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71359fec69dbb1f9765067403256c6ee">&#9670;&nbsp;</a></span>GetPrecision()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT PrecisionFormat XDoubleFormatBase::GetPrecision </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取精度 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT PrecisionFormat</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="aaa93f0474ffbb58016e051eccfdfd0df" name="aaa93f0474ffbb58016e051eccfdfd0df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa93f0474ffbb58016e051eccfdfd0df">&#9670;&nbsp;</a></span>GetThousandsSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT WChar XDoubleFormatBase::GetThousandsSeparator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取千位分隔符 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT WChar</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ab6f9cba4ae20d65183d2d044b5d1ac97" name="ab6f9cba4ae20d65183d2d044b5d1ac97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6f9cba4ae20d65183d2d044b5d1ac97">&#9670;&nbsp;</a></span>GetTrailingZeros()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT bool XDoubleFormatBase::GetTrailingZeros </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>测试是否包含尾零 </p>
<dl class="section note"><dt>注解</dt><dd>尾零只包含到指定的精度，例如3.1400 vs 3.14</dd></dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a01e0954cce5a49fe75423965386fc070" name="a01e0954cce5a49fe75423965386fc070"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01e0954cce5a49fe75423965386fc070">&#9670;&nbsp;</a></span>SetDecimalSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void XDoubleFormatBase::SetDecimalSeparator </td>
          <td>(</td>
          <td class="paramtype">WChar&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置小数点分隔符 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WChar</td><td>newVal </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a681082f3375736b94eba2471ff973e88" name="a681082f3375736b94eba2471ff973e88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a681082f3375736b94eba2471ff973e88">&#9670;&nbsp;</a></span>SetInsertThousandsSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void XDoubleFormatBase::SetInsertThousandsSeparator </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置是否插入千位分隔符 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>newVal </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="afde726fa78e4678c0760ccae9c81863b" name="afde726fa78e4678c0760ccae9c81863b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afde726fa78e4678c0760ccae9c81863b">&#9670;&nbsp;</a></span>SetLeadingZero()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void XDoubleFormatBase::SetLeadingZero </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置前置零行为 </p>
<dl class="section note"><dt>注解</dt><dd>前置零只是小于1.0的值包含，例如0.2 vs .2</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>newVal 传true来让小于1.0的值包含前置零 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="a7b0a74a2f9ef346ed89e31ee6b1603d4" name="a7b0a74a2f9ef346ed89e31ee6b1603d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b0a74a2f9ef346ed89e31ee6b1603d4">&#9670;&nbsp;</a></span>SetPrecision()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void XDoubleFormatBase::SetPrecision </td>
          <td>(</td>
          <td class="paramtype">PrecisionFormat&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置精度 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PrecisionFormat</td><td>newVal </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="abf3dd030062c534ba331f8619a0294db" name="abf3dd030062c534ba331f8619a0294db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf3dd030062c534ba331f8619a0294db">&#9670;&nbsp;</a></span>SetThousandsSeparator()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void XDoubleFormatBase::SetThousandsSeparator </td>
          <td>(</td>
          <td class="paramtype">WChar&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置千位分隔符 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WChar</td><td>newVal </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<a id="ab5012e70480353987e12c149edc01c49" name="ab5012e70480353987e12c149edc01c49"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5012e70480353987e12c149edc01c49">&#9670;&nbsp;</a></span>SetTrailingZeros()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATEC_EXPORT void XDoubleFormatBase::SetTrailingZeros </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newVal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置尾零行为 </p>
<p >尾零只包含到指定的精度，例如3.1400 vs 3.14</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>newVal </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATEC_EXPORT void</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/14 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATEC/<a class="el" href="../../d0/d75/_a_t_e_c_2_a_t_unit_format_8h_source.html">ATUnitFormat.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
